package com.spr.gw.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Message implements Serializable{
    @Id
    private Integer messageId;

    private Integer categoryId;

    private Integer sort;

    private String name;

    private Integer isRecommend;

    private Integer click;

    private Integer twRecommend;

    private Integer specialRecommend;

    private String imgUrl;

    private String linkUrl;

    private Integer isDel;

    private Date createTime;

    private Date updateTime;

    private String content;

    private String description;

}